//package cn.tedu.blog.api.repo;
//
//
//import cn.tedu.blog.api.pojo.entity.Item;
//import org.springframework.data.domain.Page;
//import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
//import org.springframework.stereotype.Repository;
//
//import java.awt.print.Pageable;
//
////@Repository
//public interface ItemRepository extends ElasticsearchRepository<Item,Long> {
//
//    Page<Item> queryItemsByTitleMatchesOrBriefMatchesOrderByViewCountDesc(
//            String title, String brief, Pageable pageable);
//
//
//}
